﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WaterBill.DTO
{
    class DTO_InfoConnect
    {
        #region "Bien toan cuc"
        private string _ServerName;
        private string _DatabaseName;
        #endregion
        #region "Thuoc tinh"
        public string ServerName
        {
            get { return _ServerName;}
            set { _ServerName = value;}
        }
        public string DatabaseName
        {
            get { return _DatabaseName; }
            set { _DatabaseName = value; }
        }
        #endregion
        #region "Phuong thuc"
        public DTO_InfoConnect()
        {
            _ServerName = string.Empty;
            _DatabaseName = string.Empty;
        }
        public DTO_InfoConnect(DTO_InfoConnect obj)
        {
            this.ServerName = obj.ServerName;
            this.DatabaseName = obj.DatabaseName;
        }
        public DTO_InfoConnect(string ServerName, string DatabaseName)
        {
            this.ServerName = ServerName;
            this.DatabaseName = DatabaseName;
        }
        #endregion
    }
}
